//==============================================================================
define bloodspurtflail
{
    set hotspot
    {
        version
        {
		    Visualparticle SFX Blood Spurt Flail Small
        }
    }
}

//==============================================================================
define mistbody
{
    TechLogic none/TG Frost Enemy 01/TG Frost Enemy 02/TG Frost Enemy 03/TG Frost Enemy 04/TG Frost Enemy Frozen/Pickup Frost Slow
    set hotspot
    {
        version
        {
            Visualnone jimmy
        }
    }	  
    set hotspot
    {
        version
        {
            Visualparticle SFX Frost Enemy Effect Moderate
        }
    }
    set hotspot
    {
        version
        {
            Visualparticle SFX Frost Enemy Effect Moderate
        }
    }
    set hotspot
    {
        version
        {
            Visualparticle SFX Frost Enemy Effect Moderate
        }
    }
    set hotspot
    {
        version
        {
            Visualparticle SFX Frost Enemy Effect Moderate
        }
    }
    set hotspot
    {
        version
        {
            Visualparticle SFX Frost Enemy Effect Moderate
        }
    }
    set hotspot
    {
        version
        {
            Visualparticle SFX Frost Enemy Effect Moderate
        }
    }
}

//==============================================================================
define Shield
{
	set hotspot
	{
		version
		{
			visual Attachments G Shield Large Iron
			ReplaceTexture Attachments G Shield Copper/Attachments G Shield Iron
		}
	}
}

//==============================================================================
define Spear
{
    SetSelector
    {      
        TechLogic none
        set hotspot
        {
            version
            {
                Visual Attachments A Spear Iron
            }
        }
    }
}

//==============================================================================
define Head
{
    SetSelector
    {
        set hotspot
        {
            version
            {
                Visual Infantry G Hoplite Head Iron
            }
        }
    }
}

//==============================================================================
define bloodspurt
{
    set hotspot
    {
        version
        {
		    Visualparticle SFX Blood Spurt Small
        }
    }
}

//==============================================================================
define blooddecal
{
    set hotspot
    {
        version
        {
		    Visualparticle SFX Blood Decal Small
        }
    }
}

//==============================================================================
anim Bored
{
    SetSelector
    {
        set hotspot
        {
            version
            {
				Visual Infantry G Hoplite_BoredA
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm Shield hotspot
				Connect hotspot mistbody hotspot
            }
        }
    }
}

//==============================================================================
anim Idle
{
    SetSelector
    {
        set hotspot
        {
            version
            {
				Visual Infantry G Hoplite_IdleA
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm Shield hotspot
				Connect hotspot mistbody hotspot
            }
        }
    }
}

//==============================================================================
anim Walk
{
    SetSelector
    {
        TechLogic none/TG Frost Enemy 01/TG Frost Enemy 02/TG Frost Enemy 03/TG Frost Enemy 04/TG Frost Enemy Frozen/Pickup Frost Slow
        set hotspot
        { 
            version
            {
				Visual Infantry G Hoplite_walkA
                tag FootstepLeft 0.00 true
                tag FootstepRight 0.50 true
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm Shield hotspot
            }
        }
	    set hotspot
        {
            version
            {
				Visual Infantry G Hoplite_walkA
                tag FootstepLeft 0.00 true
                tag FootstepRight 0.50 true
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm Shield hotspot
				Connect hotspot mistbody hotspot
				Length 1.0
            }
        }
	    set hotspot
        {
            version
            {
				Visual Infantry G Hoplite_walkA
                tag FootstepLeft 0.00 true
                tag FootstepRight 0.50 true
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm Shield hotspot
				Connect hotspot mistbody hotspot
				Length 1.07
            }
        }
	    set hotspot
        {
           version
           {
				Visual Infantry G Hoplite_walkA
                tag FootstepLeft 0.00 true
                tag FootstepRight 0.50 true
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm Shield hotspot
				Connect hotspot mistbody hotspot
				Length 1.14
            }
        }
	    set hotspot
        {
            version
            {
				Visual Infantry G Hoplite_walkA
                tag FootstepLeft 0.00 true
                tag FootstepRight 0.50 true
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm Shield hotspot
				Connect hotspot mistbody hotspot
				Length 1.21
            }
        }
	    set hotspot
        {
            version
            {
				Visual Infantry G Hoplite_walkA
                tag FootstepLeft 0.00 true
                tag FootstepRight 0.50 true
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm Shield hotspot
				Connect hotspot mistbody hotspot
				Length 1.21
            }
        }
	    set hotspot
        {
            version
            {
				Visual Infantry G Hoplite_walkA
                tag FootstepLeft 0.00 true
                tag FootstepRight 0.50 true
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm Shield hotspot
				Connect hotspot mistbody hotspot
				Length 1.21
            }
        }
    }
}

//==============================================================================
anim RangedAttack
{
    SetSelector
    {
       TechLogic none/TG Frost Enemy 01/TG Frost Enemy 02/TG Frost Enemy 03/TG Frost Enemy 04/TG Frost Enemy Frozen/Pickup Frost Slow
       set hotspot
       {
            version
            {
			    Visual Infantry G Hoplite_AttackA
                tag Attack 0.49 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
            }
			version
            {
			    Visual Infantry G Hoplite_AttackB
                tag Attack 0.51 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
            }
       }
       set hotspot
       {
            version
            {
			    Visual Infantry G Hoplite_AttackA
                tag Attack 0.49 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.3
            }
			version
            {
			    Visual Infantry G Hoplite_AttackB
                tag Attack 0.51 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.3
            }
        }
		set hotspot
        {
            version
            {
			    Visual Infantry G Hoplite_AttackA
                tag Attack 0.49 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.4
            }
			version
            {
			    Visual Infantry G Hoplite_AttackB
                tag Attack 0.51 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.4
            }
        }
		set hotspot
        {
            version
            {
			    Visual Infantry G Hoplite_AttackA
                tag Attack 0.49 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.5
            }
			version
            {
			    Visual Infantry G Hoplite_AttackB
                tag Attack 0.51 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.5
            }
        }
		set hotspot
        {
            version
            {
			    Visual Infantry G Hoplite_AttackA
                tag Attack 0.49 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.6
            }
			version
            {
			    Visual Infantry G Hoplite_AttackB
                tag Attack 0.51 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.6
            }
        }
	    set hotspot
        {
            version
            {
			    Visual Infantry G Hoplite_AttackA
                tag Attack 0.49 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.6
            }
			version
            {
			    Visual Infantry G Hoplite_AttackB
                tag Attack 0.51 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.6
            }
        }
		set hotspot
        {
            version
            {
			    Visual Infantry G Hoplite_AttackA
                tag Attack 0.49 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.6
            }
			version
            {
			    Visual Infantry G Hoplite_AttackB
                tag Attack 0.51 true
                tag GenericSound 0.40 true
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
				length 1.6
            }
        }
    }
}

//==============================================================================
anim Death
{
    SetSelector
    {
        set hotspot
        {
            version
            {
			    Visual Infantry G Hoplite_DeathA
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot bloodspurt hotspot
			    Connect hotspot blooddecal hotspot
			    Connect hotspot mistbody hotspot
			    length 1.2
            }
        }
    }
}


//==============================================================================
anim Flail
{
    SetSelector
    {
        set hotspot
        {
            version
            {
			    Visual Infantry G Hoplite_FlailA
			    tag SpecificSoundSet 0.35 false MaleFlail checkVisible				
			    ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Iron
			    Connect TopOfHead Head hotspot
			    connect RightHand Spear hotspot
			    connect LeftForearm Shield hotspot
			    Connect hotspot mistbody hotspot
            }
        }
    }
}